package com.hd.abc.newcctv.dao;

import com.hd.abc.newcctv.enityt.user;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface userdao {
    @Select ("select * from emp")
    List<user> getall();
    @Select ("select * from emp where ename=#{usename} and pwd=#{password}")
    List<user> getdataone(@Param ("usename") String username,@Param ("password") String password);
}
